<!DOCTYPE html>
<html ng-app="pc.business" ng-controller="bussinessController">
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../分页-angular/js/jquery-1.11.2.min.js" ></script>
		<script type="text/javascript" src="../js/angular.js" ></script>
	</head>
	<body ng-cloak>
		
		
		
		
		
		
		
		
			{{num}}
			{{num1}}
			{{num2}}
			<select ng-model="selected" ng-options="x.id as x.name for x in users"></select>
			
			<input type="radio" name="6" id="" value="" ng-checked="true" />
			<input type="radio" name="6" id="" value="" ng-checked="true" />
			
			{{checked}}
		<script>
			var business = angular.module('pc.business', []);
				business.factory('bussinessFactory',['$http',function($http){
					$scope.businessFactoryList=[];
		 			$scope.showNum=0;/*商品数量初始化*/
				}])
				business.controller('bussinessController',['$scope','$http',function($scope,$http,bussinessFactory){
					$scope.num=1;	
					$scope.num1=1;	
					$scope.num2=1;	
					
				$scope.users = [
        {name:'a',id:'1'},
        {name:'b',id:'2'},
        {name:'c',id:'3'}
    ];
    $scope.selected='2';//id的值，区分类型
    $scope.selected=$scope.users[0].id;//如果想要第一个值
     $scope.checked=true;//如果想要第一个值
				
				}])
			
		</script>
	</body>
</html>
